package lif.config;

import java.awt.HeadlessException;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import lif.service.MyService;
import lif.service.impl.MyServiceImpl;

@Configuration
public class AppConfig
{
    @Bean
    public MyService myService()
    {
        
        return new MyServiceImpl();
    }
}
